package loveqq.niceexcel.exception;

import java.text.MessageFormat;

/**
 * Workbook创建异常
 *
 * @author zhongjh@tsintergy.com
 * @date 2022-08-27
 */
public class WorkbookCreateException extends RuntimeException {

    public WorkbookCreateException(Throwable cause) {
        super("Workbook创建出错", cause);
    }

    public WorkbookCreateException(String message, Object... args) {
        super(MessageFormat.format(message, args));
    }

    public WorkbookCreateException(Throwable cause, String message, Object... args) {
        super(MessageFormat.format(message, args), cause);
    }

}
